/*
 * matrix.h
 *
 *  Created on: Jul 27, 2013
 *      Author: derekmorris
 */

#ifndef MATRIX_H_
#define MATRIX_H_


typedef struct
{
	float elements[16];
} Matrix4x4;

//typedef float Matrix4x4[16];

void matrixFrustum(Matrix4x4* pMatrix, float left, float right, float bottom, float top, float nearZ, float farZ);
void matrixPerspective(Matrix4x4* pMatrix, float fovy, float aspect, float nearZ, float farZ);
void matrixRotate(Matrix4x4* pMatrix, float angle, float x, float y, float z);
void matrixMultiply(Matrix4x4* pMatrix, Matrix4x4* pA, Matrix4x4* pB);

#endif /* MATRIX_H_ */
